home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / opengl / utilities / isfast / libtk / private.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  718 b   |  28 lines

  1. typedef struct _WINDOW_REC {
  2.     int x, y, w, h;
  3.     GLenum type;
  4.     Window wMain, wOverlay;
  5.     XVisualInfo *vInfoMain, *vInfoOverlay;
  6.     Colormap cMapMain, cMapOverlay;
  7.     GLXContext cMain, cOverlay;
  8. } WINDOW_REC;
  9.  
  10.  
  11. extern Display *xDisplay;
  12. extern int xScreen; 
  13. extern Window wRoot;
  14. extern WINDOW_REC w;
  15. extern Atom deleteWindowAtom;
  16.  
  17. extern void (*ExposeFunc)(int, int);
  18. extern void (*ReshapeFunc)(int, int);
  19. extern void (*DisplayFunc)(void);
  20. extern GLenum (*KeyDownFunc)(int, GLenum);
  21. extern GLenum (*MouseDownFunc)(int, int, GLenum);
  22. extern GLenum (*MouseUpFunc)(int, int, GLenum);
  23. extern GLenum (*MouseMoveFunc)(int, int, GLenum);
  24. extern void (*IdleFunc)(void);
  25.  
  26. extern int cursorNum;
  27. extern int tkLoopFlag;
  28.